﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using demo.DBHelper;
using demo.Entity;
using demo.IService;


namespace demo.Service
{
    public class WebSiteInfoService:RepositoryDao<WebSiteInfo>,IWebSiteInfoService
    {
        public WebSiteInfo GetModel()
        {
            var sql = new StringBuilder("select * from WebSiteInfo ");
            return base.GetList(sql.ToString(), null).FirstOrDefault();
        }
    }
}
